<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Kalnoy\Nestedset\NodeTrait;

class WxMenu extends Model
{
    use NodeTrait;
    
    protected $fillable = [ 'name', 'type', 'key', 'url', 'media_id', 'appid', 'pagepath', 'parent_id' ];
    
    protected $hidden = ['_lft', '_rgt', 'created_at', 'updated_at'];
}
